package com.xqboss.apps.enums.user;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonEnumDefaultValue;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.xqboss.common.enums.BaseEnum;
import com.xqboss.common.enums.EnumJsonDeserializer;
import lombok.With;

import java.util.Arrays;

/**
 * @author Trent
 * @date 2023/8/15
 * 用户提现状态
 */

public enum WithdrawStatusEnum implements BaseEnum<Integer> {

    WAIT_PROCESS(0, "待审核"),
    PROCESS_ABORT(-1, "审核驳回"),
    PROCESS_PASS(1, "审核通过"),
//    SETTLE_ABORT(-2, "结算驳回"),
//    SETTLED(2, "已结算"),
    ;


    private final Integer value;
    private final String msg;

    WithdrawStatusEnum(Integer value, String description) {
        this.value = value;
        this.msg = description;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
